package com.eh.taxation.client;

import com.eh.commonutils.vo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "service-ucenter")
@Component
public interface UcenterClient {

    //根据用户id获取用户信息
    @PostMapping("/ucentermember/member/getUserInfoCourse/{id}")
    public UcenterMemberOrder getUserInfoCourse(@PathVariable("id") String id);

}
